package main

func createColumn(column Column) *Column {

	var r = Column{}

	DB.Where(Column{Name: column.Name, TableId: column.TableId}).Attrs(column).FirstOrCreate(&r)

	return &r
}
